import request from '@/utils/request';

export function Slider() {
  let dats = {
    captchaType: "blockPuzzle",
    clientUid: "slider-651c9cc0-dd11-48b7-9b2d-e119c4bada49",
    ts: Date.now()
  }
  return request({
    url: '/captcha/get',
    method: 'POST',
    data: dats
  })
}

export function SliderCheck(pointJson, token) {
  let dats = {
    captchaType: "blockPuzzle",
    pointJson: pointJson,
    token: token
  }
  return request({
    url: '/captcha/check',
    method: 'POST',
    data: dats
  })
}

export function SliderSuccess(data) {
  return request({
    url: '/adminLogin',
    method: 'POST',
    data: data
  })
}  